package com.woniuxy.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.member.infra.model.CommentInfo;
import com.woniuxy.member.service.dto.CommentInfoDto;
import com.woniuxy.member.service.param.AddCommentServiceParam;
import com.woniuxy.member.service.param.CommentInfoSearchServiceParam;
import com.woniuxy.member.service.param.CommentInfoSearchServiceParams;
import common.WoniuPage;

/**
 * <p>
 * 评价信息表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
public interface CommentInfoService extends IService<CommentInfo> {
    void addComment(AddCommentServiceParam addCommentServiceParam);

    void delStoreComment(Integer storeId, Integer commentId);

    void delComment(Integer memberId, Integer storeId, Integer commentId);

    WoniuPage<CommentInfoDto> getAllScoreCommentInfo(CommentInfoSearchServiceParams commentInfoSearchServiceParams);

    WoniuPage<CommentInfoDto> getStoreCommentInfo(CommentInfoSearchServiceParam commentInfoSearchServiceParam);

}
